package com.jy.rhin.model.body.chushengyxzm;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class JieShengXX {

    //出生地
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE02.01.004.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_004_00))
    CodeObject chuShengD;

    //接生人员姓名
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE02.01.039.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_039_00))
    String jieShengRXM;

    //接生人单位
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE08.10.013.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_10_013_00))
    String jieShengDWMC;

}
